﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Best.SmartCms.Dto.Common
{
    /// <summary>
    /// 签名
    /// </summary>
    public class SignatureValidationAttribute : Attribute
    {
    }


    /// <summary>
    /// Action签名dto基类
    /// </summary>
    public class BaseSignatureDto
    {
        /// <summary>
        /// 签名Token
        /// </summary>
        [SignatureValidation]
        public string Token { get; set; }

        /// <summary>
        /// 时间搓
        /// </summary>
        [SignatureValidation]
        public string Timestamp { get; set; }

        /// <summary>
        /// 签名公钥
        /// </summary>
        [SignatureValidation]
        public string AccessKey { get; set; }
    }
}
